/*
 */
/*
记录异步命令执行状态的文件格式如下：

key1,value1
key2,value2
写入时，key根据value得到md5值，再作为Key写入。写入时一直追加

 Authors: ZhangXuelian
 		  	
 
 Changes:
 
 
 
*/

#define CONFIG_MAX_LINE    1024
#ifndef UNUSED   /* Just to avoid compilation warnings. */
#define UNUSED(x) (void)(x)  
#endif
void coe_write(char * filename, int key, char * value)
{
    UNUSED(filename);
	char buf[CONFIG_MAX_LINE+1];
    sprintf(buf,"nvram set %s=%s",key,value);
    system(buf);
    system("nvram commit");
}

void coe_read(char * filename, char * key, char * value)
{
    UNUSED(filename);
	char buf[CONFIG_MAX_LINE+1];
}

void coe_delete(char * filename, char * key )
{
	UNUSED(filename);   
	return;    
}


